<?php get_header(); ?>

	<div id="postsBlock" class="postsBlock">
	<?php if (have_posts()) : ?>

		<?php while (have_posts()) : the_post(); ?>


		<div class="item">

			<h3><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>

			<p class="byline">由<a href="<?php bloginfo('url'); ?>/author/"><?php the_author() ?></a> 于<?php the_time('Y.m.d') ?> 发表 | <?php the_category(', ') ?> </p>

			<p class="entry">

				<?php the_content(); ?>

			</p>

			<p class="postmetadata"><?php the_tags('<br />Tags: ', ', ', ''); ?> | <?php comments_popup_link('目前尚无回应 &#187;', '目前 1 条回应 &#187;', '% 条回应 &#187;'); ?>
		</p>
</div>


		<?php endwhile; ?>



  	<div class="navigation">

			<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } else { ?>

			<div class="alignleft"><?php next_posts_link('&laquo; 以前的文章') ?></div>

			<div class="alignright"><?php previous_posts_link('最近发表文章 &raquo;') ?></div>

			<?php } ?>

		</div>



	<?php else : ?>



		<h2>Not Found</h2>

		<p>Sorry, but you are looking for something that isn't here.</p>



	<?php endif; ?>

</div> <!-- end #content -->

<?php get_sidebar(); ?>

<?php get_footer(); ?>